import { axios } from '@/utils/request'

/**
 * 查询vip充值参数表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:53:43
 */
export function appVipPackagePage (parameter) {
  return axios({
    url: '/appVipPackage/page',
    method: 'get',
    params: parameter
  })
}

/**
 * vip充值参数表列表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:53:43
 */
export function appVipPackageList (parameter) {
  return axios({
    url: '/appVipPackage/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加vip充值参数表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:53:43
 */
export function appVipPackageAdd (parameter) {
  return axios({
    url: '/appVipPackage/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑vip充值参数表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:53:43
 */
export function appVipPackageEdit (parameter) {
  return axios({
    url: '/appVipPackage/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除vip充值参数表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:53:43
 */
export function appVipPackageDelete (parameter) {
  return axios({
    url: '/appVipPackage/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出vip充值参数表
 *
 * @author 郑雄伟
 * @date 2024-01-02 16:53:43
 */
export function appVipPackageExport (parameter) {
  return axios({
    url: '/appVipPackage/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
